/**
 * 判断数组是否为单调递增
 */
export function isMonotonicIncreasing(nums){
    return nums.every((x, i) => i === 0 || x >= nums[i - 1])
}
